package com.softserveinc.cheatsheet.controller;

import org.springframework.beans.factory.annotation.Autowired;

import com.softserveinc.cheatsheet.entity.UserAuthority;
import com.softserveinc.cheatsheet.services.UserService;

public class ApplicationInit {

	@Autowired
	UserService service;
	
	public void init() {
		service.createAuthority(UserAuthority.ROLE_USER);
	}
	
}
